package entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.sql.Date;


/**
 * @program: personnel_management_system
 * @description: train relation
 * @author: Mr.Sun
 * @create: 2020-05-25 14:48
 **/
@Setter
@Getter
@ToString
public class Train {
    private Integer tr_id;
    private Date duration;
    private Date date;
    private Integer emp_id;

    public Train() {
    }

    public Train( Date date,Date duration,  Integer emp_id) {

        this.duration = duration;
        this.date = date;
        this.emp_id = emp_id;
    }
}
